package cn.exrick.manager.mapper;

import cn.exrick.manager.pojo.TbEmailTemplate;
import cn.exrick.manager.pojo.TbEmailTemplateExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbEmailTemplateMapper {
    long countByExample(TbEmailTemplateExample example);

    int deleteByExample(TbEmailTemplateExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbEmailTemplate record);

    int insertSelective(TbEmailTemplate record);

    List<TbEmailTemplate> selectByExampleWithBLOBs(TbEmailTemplateExample example);

    List<TbEmailTemplate> selectByExample(TbEmailTemplateExample example);

    TbEmailTemplate selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbEmailTemplate record, @Param("example") TbEmailTemplateExample example);

    int updateByExampleWithBLOBs(@Param("record") TbEmailTemplate record, @Param("example") TbEmailTemplateExample example);

    int updateByExample(@Param("record") TbEmailTemplate record, @Param("example") TbEmailTemplateExample example);

    int updateByPrimaryKeySelective(TbEmailTemplate record);

    int updateByPrimaryKeyWithBLOBs(TbEmailTemplate record);

    int updateByPrimaryKey(TbEmailTemplate record);
}